﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="ThemSP.aspx.cs" Inherits="admin_ThemSP" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table style="width:101%; height: 305px;">
        <tr>
            <td style="width: 117px">
                Tên Máy</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" Width="336px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 117px">
                Giá Bán</td>
            <td>
                <asp:TextBox ID="TextBox2" runat="server" Width="336px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 117px">
                Số Lượng</td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server" Width="336px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 117px">
                Mã Hãng SX</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" Height="35px" Width="121px" 
                    DataSourceID="SqlDataSource1" DataTextField="MaHangSX" 
                    DataValueField="MaHangSX">
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:maytinhxachtayConnectionString %>" 
                    SelectCommand="SELECT DISTINCT [MaHangSX] FROM [MayTinh]">
                </asp:SqlDataSource>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 117px">
                Mô tả</td>
            <td>
                <asp:TextBox ID="TextBox4" runat="server" Height="44px" Width="255px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 117px">
                Loại Máy Tính</td>
            <td>
                <asp:DropDownList ID="DropDownList2" runat="server" Height="26px" Width="136px" 
                    DataSourceID="SqlDataSource2" DataTextField="LoaiMT" DataValueField="LoaiMT">
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:maytinhxachtayConnectionString %>" 
                    SelectCommand="SELECT DISTINCT [LoaiMT] FROM [MayTinh]"></asp:SqlDataSource>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 117px">
                Hình Ảnh</td>
            <td>
                <asp:FileUpload ID="FileUpload1" runat="server" Height="34px" Width="252px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td style="width: 117px; height: 19px">
                Hiện Thị</td>
            <td style="height: 19px">
                <asp:RadioButton ID="RaYes" runat="server" Text="Có" />
                <asp:RadioButton ID="RaNo" runat="server" Text="Không" />
            </td>
            <td style="height: 19px">
            </td>
        </tr>
        <tr>
            <td style="width: 117px">
                <asp:Button ID="BtAdd" runat="server" Text="Add" />
            </td>
            <td>
                <asp:Button ID="BtCan" runat="server" Text="Cancel" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </form>
</asp:Content>

